#ifndef PLATEAU_H
#define PLATEAU_H

#include <QGraphicsView>
#include <QGraphicsScene>
#include <QResizeEvent>
#include <QMouseEvent>
#include <QDebug>

class Plateau : public QGraphicsView {
    Q_OBJECT
private:
    bool press;
public:
    Plateau(QWidget * parent = 0);
public slots:
    void advance(int phase);
signals:
    void mouse(QPointF);
protected:
    virtual void resizeEvent (QResizeEvent * event);
    virtual void mousePressEvent(QMouseEvent * event);
    virtual void mouseMoveEvent(QMouseEvent * event);
    virtual void mouseReleaseEvent(QMouseEvent * event);


};

#endif // PLATEAU_H
